package com.equipment.system.service.impl;

import com.equipment.system.mapper.AreaMapper;
import com.equipment.system.service.AreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ${DESCRIPTION}
 *
 * @author 杨凯
 * @create 2018-03-26 10:27
 **/
@Service
public class AreaServiceImpl implements AreaService {


	@Autowired
	private AreaMapper areaMapper;

	@Override
	public List<String> getProvinceList() {
		return areaMapper.getProvinceList();
	}

	@Override
	public List<String> getCityListByProvince(String provinceName) {
		return areaMapper.getCityListByProvince(provinceName);
	}
}
